package org.zn.mvcbase.rest;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * @Auther cuichao
 * @Description: GateWayConfigurtion
 * @Date: create in 2018/11/19 10:06
 */
@Configuration
@ConfigurationProperties(prefix = "remote.gateway")
public class ServiceInfo {



    private String address = "127.0.0.1";


    /**
     * Getter for property 'address'.
     *
     * @return Value for property 'address'.
     */
    public String getAddress() {
        return address;
    }

    /**
     * Setter for property 'address'.
     *
     * @param address Value to set for property 'address'.
     */
    public void setAddress(String address) {
        this.address = address;
    }
}
